import flask,json
import subprocess,pymysql
#coding=utf-8

api = flask.Flask(__name__)

@api.route('/jaina',methods=['post'])
def login():
    # 获得接口参数
    go = flask.request.values.get('go')

    ren = {'msg':go,'msg_code':200}

    return json.dumps(ren,ensure_ascii=False)

if __name__ == '__main__':
    api.run(port=8888,debug=True,host='127.0.0.1')